package cn.xjt.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 内容：
 *
 * @author
 * @date 2020/9/21-23:18
 */

@Controller
public class EncodingController {

	//过滤器解决乱码
	@PostMapping("/En/t1")
	public String test(String name, Model model)
	{
		System.out.println(name);
		model.addAttribute("msg", name);
		return "hello";
	}
}
